<!-- 家庭医生 -->
<template>
	<view class="family-doctor-index-wrapper">
		<text class="title">什么是家庭医生</text>
		<text class="desc">
			家庭医生制是指通过家庭医生制是通过签约方式，局别家庭医生条件的全科医生与签约居民建立起一种长期，稳定的服务关系，一遍对签约居民的健康进行全过程维护的服务制度
		</text>
		<uni-section title="服务内容" type="line">
			<view class="service-list-item">
				<p class="title">在线咨询家庭医生</p>
				<p class="desc">免费图文咨询，电话咨询</p>
			</view>
			<view class="service-list-item">
				<p class="title">报告解读</p>
				<p class="desc">体检报告全方位解读</p>
			</view>
			<view class="service-list-item">
				<p class="title">预约就诊</p>
				<p class="desc">在线预约，省事省事省心</p>
			</view>
			<view class="service-list-item">
				<p class="title">异常提醒</p>
				<p class="desc">数据异常，医生第一事件知晓</p>
			</view>
		</uni-section>
		
		
		<view class="bottom-tabbar">
			<view class="submit-btn" @click="goToTeamList">
				<p>去签约</p>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		onLoad(option) {
			
		},
		methods: {
			goToTeamList() {
				uni.navigateTo({
					url: '/pages/familyDoctor/teamList'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.family-doctor-index-wrapper{
		width: 100%;
		height: 100%;
		background-color: #fff;
		padding: 20px;
		box-sizing: border-box;
		.title {
			font-size: 1.2rem;
			display: block;
		}
		.desc {
			display: block;
		}
		
		.service-list-item {
			display: flex;
			flex-direction: column;
			background-color: #ccc;
			padding: 15px;
			margin-bottom: 5px;
			.title {
				font-size: 1.1rem;
			}
			.desc {
				color: #757575;
			}
		}
		
		.bottom-tabbar {
			position: fixed;
			left: 0;
			bottom: 0;
			width: 100%;
			height: 60px;
			padding-bottom: 20px;
			display: flex;
			justify-content: space-between;
			align-items: center;
		
			.submit-btn {
				width: 100%;
				height: 50px;
				background-color: #41C177;
				text-align: center;
		
				p {
					color: #fff;
					font-size: 1rem;
					line-height: 50px;
				}
			}
		}
	}
</style>